package com.itkjb.leisurely.center.sys.service;

import com.itkjb.leisurely.center.sys.model.SysUserDepModel;
import com.itkjb.leisurely.core.base.IBaseService;

import java.util.List;

/**
 * <p>
 * 用户组织关系对象，组织成员 服务类
 * </p>
 *
 * @author itkjb.com
 * @since 2020-07-17
 */
public interface ISysUserDepService extends IBaseService<SysUserDepModel> {

    /**
     * 根据用户id  查询用户的所在组织
     * @param userId
     * @return
     */
    @Deprecated
    List<SysUserDepModel> findUserDepsByUserId(String userId);
}
